class Cloud extends egret.Sprite{
	public constructor() {
		super();
		this.addEventListener(egret.Event.ADDED_TO_STAGE, this.addToStage, this);
	}
	addToStage() {
		let stageW = this.stage.stageWidth;
		let stageH = this.stage.stageHeight;
		

		let Cloud1 = new egret.Bitmap();
		Cloud1.texture = RES.getRes("Mc_cloud1_png");
		Cloud1.width = 800;
		Cloud1.y = stageH - Cloud1.height; 
		this.addChild(Cloud1);
		

		let Cloud2 = new egret.Bitmap();
		Cloud2.texture = RES.getRes("Mc_cloud2_png");
		Cloud2.width = 800;
		Cloud2.y = stageH - Cloud2.height; 
		this.addChild(Cloud2);
		Cloud2.x = 600;
		
		let Cloud3 = new egret.Bitmap();
		Cloud3.texture = RES.getRes("Mc_cloud3_png");
		Cloud3.width = 800;
		Cloud3.y = stageH - Cloud3.height; 
		this.addChild(Cloud3);
		Cloud3.x = 1000;
		
	}




}